package com.bjpowernode.web.vo;

/**
 * @description:
 * @author: panDeng_Zhu
 * @time: 2022/10/25 14:49
 * 存放投资排行榜数据，手机号，投资金额
 */

public class InvestRank {

    private String phone;
    private Double money;

    public InvestRank(String phone, Double money) {

        if (phone != null && phone.length() == 11) {
            this.phone = phone.substring(0, 3) + "******" + phone.substring(9);
        }
        this.money = money;
    }

    public InvestRank() {
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }
}
